vmx realmode: __hvm_copy() should not hvm_get_segment_register() when
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 13 Feb 2008 16:35:51 +0000 (16:35 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 13 Feb 2008 16:35:51 +0000 (16:35 +0000)
commitdf46d3520618c41dae22794a93ada7abfe20ed95
tree13cf61517a8632bcfa21ee8312290815ead78ccf
parent782e0cae244bff4db4c195e600e2085a887c32df
vmx realmode: __hvm_copy() should not hvm_get_segment_register() when
we are emulating. Firstly it is bogus, since VMCS segment state is
stale in this context. Secondly, real mode and real->protected
contexts are rather unlikely tohappen with SS.DPL == 3.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/hvm/hvm.c